package test916;

import java.util.Scanner;

public class myDirectory {
    public static void main(String[] args) {
        System.out.println("please enter a num: ");
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        if(0 < num && num < 6)
            switch (num)
            {
                case 1:
                    System.out.println("Add");
                    break;
                case 2:
                    System.out.println("Check");
                    break;
                case 3:
                    System.out.println("Change");
                    break;
                case 4:
                    System.out.println("Delete");
                    break;
                case 5:
                    System.out.println("Exit");
                    break;
            }
        else
        {
                System.out.println("Input out of range");
        }



    }
}
